package com.acegear.horizon.domain.repository.jpa;

import com.acegear.horizon.domain.models.jpa.SecureToken;

import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

/**
 * Created by wangsike on 2016/12/17.
 */
public interface SecureTokenRepository extends CrudRepository<SecureToken, Long> {
    Optional<SecureToken> findByToken(String token);
}
